containers.<name>.macvlans

The list of host interfaces from which macvlans will be created. For each interface specified, a macvlan interface will be created and moved to the container.

Type
list of string
Default
[ ]
Example
[
  "eth1"
  "eth2"
]
Declared
<nixpkgs/nixos/modules/virtualisation/nixos-containers.nix>